/*
 * Temperature.java
 *
 * Created on 4 f�vrier 2008, 11:46
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.great.beans;

/**
 *
 * @author defautce
 */
public class Temperature {

    private String type; // celsius, farnheit, kelvin
    private float value;
    
    /** Creates a new instance of Temperature */
    public Temperature() {
    }
    
    /** getter and setter of all parameters */
    public void setValue (float value){
        this.value = value;
    }
    public float getValue(){
        return this.value;
    }
    
    public void setType (String type){
        this.type = type;
    }
    public String getType(){
        return this.type;
    }
}
